package com.gnerv.pabu.ribbon;

import com.netflix.loadbalancer.AbstractServerPredicate;
import com.netflix.loadbalancer.CompositePredicate;
import com.netflix.loadbalancer.PredicateBasedRule;

public class PabuRule extends PredicateBasedRule {

    private final CompositePredicate predicate;

    public PabuRule(CompositePredicate predicate) {
        this.predicate = predicate;
    }

    @Override
    public AbstractServerPredicate getPredicate() {
        return predicate;
    }
}
